package com.gzm.follow.service.impl;

import com.baomidou.dynamic.datasource.annotation.DS;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.gzm.follow.entity.BaseHighBloodVisit;
import com.gzm.follow.entity.HighBloodVisit;
import com.gzm.follow.mapper.HighBloodVisitMapper;
import com.gzm.follow.service.IHighBloodVisitService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * <p>
 * 高血压随访表 服务实现类
 * </p>
 *
 * @author gzm
 * @since 2021-03-22
 */
@Service
@DS("db2")
public class HighBloodVisitServiceImpl extends ServiceImpl<HighBloodVisitMapper, HighBloodVisit> implements IHighBloodVisitService {

    @Resource
    private HighBloodVisitMapper highBloodVisitMapper;

    @Override
    public int insertSelective(BaseHighBloodVisit record) {
        return highBloodVisitMapper.insertSelective(record);
    }
}
